#3
python = 3
math = 4
En = 4
PE = 2
MA = 2
Ph = 2
credits = python + math + En + PE + MA + Ph
price = int(input())
Allprice = credits * price
print(f'你本学期选修了{credits}个学分。')
print(f'你应缴纳的学费为{Allprice}元。')